I am glad to announce the release of Hibernate Validator 8.0.0.CR1, which is the final step before our Final release (except if important issues are reported, of course).
Hibernate Validator 8 is the Hibernate Validator version targeting Jakarta EE 10 and it is the reference implementation of Jakarta Bean Validation.
What’s new
We already made a few Alphas of Hibernate Validator 8, mostly to allow integrators to make progress towards the finalization of Jakarta EE 10.
We have made the final adjustments to Hibernate Validator 8, and we are ready to release it, pending a stable release of the new Expression Language implementation, Expressly.
If you are a Hibernate Validator user and if you are currently evaluating EE 10, please give this version a try and report back.
This version is functionally equivalent to Hibernate Validator 6.2 and 7, except for a few adjustments:
-
Our minimal Java version requirement is now Java 11 - HV-1887.
-
We have a new
@UUID
constraint, allowing to validate UUIDs - HV-1867. -
Validated values are not logged when using trace logging, except if you ask otherwise - HV-1903.
-
We made a small change to the
GetterPropertySelectionStrategy
: thegetGetterMethodNameCandidates()
method now returns aList
instead ofSet
- HV-1853.
The rest of the changes were made to ensure compatibility with Jakarta EE 10.
Getting 8.0.0.CR1
Hibernate Validator 8 targets the upcoming Jakarta EE 10.
To get the release with Maven, Gradle etc. use the GAV coordinates org.hibernate.validator:{hibernate-validator|hibernate-validator-cdi|hibernate-validator-annotation-processor}:8.0.0.CR1. Note that the group id has changed from org.hibernate
(Hibernate Validator 5 and earlier) to org.hibernate.validator
(from Hibernate Validator 6 onwards).
Feedback, issues, ideas?
To get in touch, use the usual channels:
-
hibernate-validator tag on Stack Overflow (usage questions)
-
User forum (usage questions, general feedback)
-
Issue tracker (bug reports, feature requests)
-
Mailing list (development-related discussions)
-
Jakarta Bean Validation development mailing list (discussions about the Jakarta Bean Validation specification)